﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SISCON.Vo
{
    public class ResultObject
    {
        public Object result = null;
        public string error = null;

        public ResultObject() {}

        public ResultObject(object result, string error)
        {
            this.result = result;
            if (error != null && error.Trim().Length > 0)
            {
                this.error = "error:" + error;
            }
        }
    }
}